const mongoose = require("../utils/DB.js");
//创建数据模型
let studentSchema = new mongoose.Schema({
    name: String,
    age: Number,
    gender: String,
    score: Number,
    address: String
});
//映射数据模型
let studentModel = mongoose.model('studentModel', studentSchema, 'student');

module.exports = studentModel